#!/bin/bash

rsync -av /opt/project/houxin/services/houxin-obu/houxin-gateway/{Dockerfile,gateway-start.sh,houxin-gateway.jar}  houxin:/opt/project/houxin/houxin-gateway/

ssh   root@houxin  "
 cd /opt/project/houxin/houxin-gateway

 chmod +x  gateway-start.sh

 ./gateway-start.sh

"

